//
//  GSSubjective.h
//  GSCommonKit
//
//  Created by net263 on 2021/10/22.
//  Copyright © 2021 gensee. All rights reserved.
//

#import <Foundation/Foundation.h>
#import"GSEventHandleConst.h"
NS_ASSUME_NONNULL_BEGIN

@interface GSSubjectiveAnswer : NSObject
@property(nonatomic, copy)NSString* imgsrc;//原图
@property(nonatomic, copy)NSString* thumbnail;//缩略图
@end

@interface GSSubjectiveQuestion : NSObject
@property(nonatomic, copy)NSString* questionId;//问题ID，SDK内部自动生成
@property(nonatomic, copy)NSString* content;//问题内容
@property(nonatomic, assign)int added;//1:附加题 2：必答题
@property(nonatomic, assign)int score;//分值
@property(nonatomic, strong)NSArray<GSSubjectiveAnswer*>* answers;//用户提交的问题答案，发题的时候不需要填写
@end


@interface GSSubjective : NSObject
@property(nonatomic, copy)NSString* voteId;//主观题ID,SDK内部会生成
@property(nonatomic, copy)NSString* title;//标题
@property(nonatomic, assign)int timelimit;//答题时长
@property(nonatomic, strong)NSArray<GSSubjectiveQuestion*>* questions;
@end




NS_ASSUME_NONNULL_END
